package com.fqgj.xjd.user.client.request;

import com.fqgj.xjd.user.client.enums.UserEventTrackEnum;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
 * @program: cashmama-user
 * @description 用户埋点事件
 * @author: frank
 * @create: 2020-11-23 10:28
 **/
public class UserBehaviorEvent2Request implements Serializable {

    private String userCode;
    private UserEventTrackEnum userEventTrack;
    private Map<String,Object> properties;

    public UserBehaviorEvent2Request() {
    }

    public UserBehaviorEvent2Request(String userCode, UserEventTrackEnum userEventTrack, Map<String, Object> properties) {
        this.userCode = userCode;
        this.userEventTrack = userEventTrack;
        this.properties = properties;
    }

    public String getUserCode() {
        return userCode;
    }

    public UserBehaviorEvent2Request setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public UserEventTrackEnum getUserEventTrack() {
        return userEventTrack;
    }

    public UserBehaviorEvent2Request setUserEventTrack(UserEventTrackEnum userEventTrack) {
        this.userEventTrack = userEventTrack;
        return this;
    }

    public Map<String, Object> getProperties() {
        return properties;
    }

    public UserBehaviorEvent2Request setProperties(Map<String, Object> properties) {
        this.properties = properties;
        return this;
    }
}
